package com.elmcode.study.design.pro07_decorator.decorator;

import com.elmcode.study.design.pro07_decorator.Drink;

/**
 * 具体的Decorator， 这里就是调味品
 */
public class Chocolate extends Decorator {

   public Chocolate(Drink obj) {
      super(obj);
      setDes("巧克力");
      // 调味品 的价格
      setPrice(3.0f); 
   }

}